home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software 2000
/
Software 2000 Volume 1 (Disc 1 of 2).iso
/
utilities
/
u267.dms
/
u267.adf
/
INC9110B.LZH
/
include
/
errno.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-04-22
|
1KB
|
37 lines
/*
* Libraries and headers for PDC release 3.3 (C) 1989 Lionel Hummel.
* PDC Software Distribution (C) 1989 Lionel Hummel and Paul Petersen.
* PDC I/O Library (C) 1987 by J.A. Lydiatt.
*
* This code is freely redistributable upon the conditions that this
* notice remains intact and that modified versions of this file not
* be included as part of the PDC Software Distribution without the
* express consent of the copyright holders. No warrantee of any
* kind is provided with this code. For further information, contact:
*
* PDC Software Distribution Internet: BIX:
* P.O. Box 4006 or hummel@cs.uiuc.edu lhummel
* Urbana, IL 61801-8801 petersen@uicsrd.csrd.uiuc.edu
*/
/* errno.h
* Symbolic names for system error conditions
*/
#define EOK 0 /* No error */
#define ENOMEM 1 /* Terminated due to failed AllocMem() */
#define EINVAL 2 /* Invalid argument */
#define EBADF 3 /* Bad file descriptor given */
#define EEXIST 4 /* File exists */
#define EMFILE 5 /* Too many open files */
#define ENOENT 6 /* No such file or directory */
#define EIO 7 /* I/O error */
#define EBADDESIGN 255 /* Sometimes this is the REAL error :-) */
/* math library */
#define EDOM 8
#define ERANGE 9
extern int errno;
extern char *sys_errlist[];
extern int sys_nerr;